package com.example.demo.pojo;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
/**
 * @author cyt
 * @create 2021-03-21 0:18
 */
public class User {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Integer uid;

    private String name;

    public static final String COL_ID = "id";

    public static final String COL_UID = "uid";

    public static final String COL_NAME = "name";

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", uid=" + uid +
                ", name='" + name + '\'' +
                '}';
    }
}
